package com.lwj.service.system;

import com.lwj.dto.system.MySQLDto;
import com.lwj.mapper.system.MySQLMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MySQLServiceImpl implements MySQLService{
    @Autowired
    private MySQLMapper mySQLMapper;

    @Override
    public List<String> selectTables(MySQLDto mySQLDto) {
        return mySQLMapper.selectTables(mySQLDto);
    }

    @Override
    public List<String> selectColumn(MySQLDto mySQLDto) {
        return mySQLMapper.selectColumn(mySQLDto);
    }
}
